import { createApp } from 'vue'
import { setupClient } from './app/client'
import App from './App.vue'
import { Channel } from './utils/qt/qtsdk'
import '@/styles/index.less'
;(async () => {
	async function initApp() {
		const app = createApp(App)
		app.mount('#app')
	}
	//开启客户端
	setupClient(initApp)
	setTimeout(() => {
		if (!Channel) {
			console.log('浏览器访问', Channel)
			initApp()
		}
	}, 3000)
})()
